package com.example.blog.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author Admin
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "live_company")
@ApiModel(value = "LiveCompany对象",description = "招聘信息表")
public class LiveCompany {

    @TableId(value = "id")
    @ApiModelProperty(value = "主键id")
    private String id;

    @TableField(value = "live_info_id")
    @ApiModelProperty(value = "直播信息id")
    private String liveInfoId;

    @TableField(value = "company_name")
    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @TableField(value = "company_profile")
    @ApiModelProperty(value = "公司简介")
    private String companyProfile;

    @TableField(value = "job_demand")
    @ApiModelProperty(value = "岗位需求")
    private String jobDemand;

    @TableField(value = "liaison")
    @ApiModelProperty(value = "联系人")
    private String liaison;

    @TableField(value = "phone")
    @ApiModelProperty(value = "联系电话")
    private String phone;

    @TableField(value = "email")
    @ApiModelProperty(value = "联系邮箱")
    private String email;

    @TableField(value = "company_address")
    @ApiModelProperty(value = "公司地址")
    private String companyAddress;

    @TableField(value = "status")
    @ApiModelProperty(value = "状态，0隐藏1启用9删除")
    private Integer status;

    @TableField(value = "default_status")
    @ApiModelProperty(value = "是否默认，0否1是")
    private Boolean defaultStatus;

    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

}
